<template>
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
    <van-swipe-item v-for="item in lunbo" :key="item.id">
      <img :src="item.src || item.img" alt="">
    </van-swipe-item>
  </van-swipe>
</template>
<script>
export default {
  props: ['lunbo'],
  data: () => ({})
}
</script>
<style lang="less" scoped>
  .my-swipe {
    height: 200px;
    // background-color: red;
    img{
      widows: 100%;
      height: 100%;
    }
  }
  .van-swipe-item_icon {
    font-size: 60px;
  }
</style>